DocumentRoot /srv/web/docs-old.fedoraproject.org/public_html
ErrorDocument 404 http://docs-old.fedoraproject.org/

AddType application/epub+zip .epub
AddType image/svg+xml .svg
AddType image/svg+xml .svgz
AddEncoding gzip .svgz
<FilesMatch \.svgz$>
  <IfModule mod_gzip.c>
    mod_gzip_on No
  </IfModule>
</FilesMatch>

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript

FileETag MTime Size

ExpiresActive On
ExpiresDefault "access plus 30 minutes"

RewriteEngine On
RewriteRule ^(.*)$ http://docs.fedoraproject.org/$1 [R=301,L]
